package com.haimi.shiguang.framework;

import com.haimi.shiguang.BuildConfig;
import com.haimi.shiguang.base.biz.SequenceTypeEnum;
import com.haimi.shiguang.utils.SequenceUtil;
import com.haimi.shiguang.utils.Store;
import com.haimi.shiguang.utils.SystemUtil;

/**
 * @author changsunhaipeng
 * @date 2018/6/3
 */

public class HeaderCache {
    public static String uid = Store.getString(GlobalCache.getContext(), Constans.UID);
    public static String sessionId = Store.getString(GlobalCache.getContext(), Constans.SESSION_ID);
    public static String token = "";
    public static String requestId = SequenceUtil.getSequenceNo(SequenceTypeEnum.REQUEST_ID);
    public static String appName = "shiguang";
    public static String os = "ANDROID";
    public static String osInnerVersion = String.valueOf(BuildConfig.VERSION_CODE);
    public static String osOutVersion = BuildConfig.VERSION_NAME;
    public static String mobileName = SystemUtil.getSystemModel() + "---" + SystemUtil.getSystemVersion();
}
